package com.lkd.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工单详情，只有补货工单才有
 * </p>
 *
 * @author 聂德祥
 * @since 2024-08-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_task_details")
public class TaskDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "details_id", type = IdType.AUTO)
    private Long detailsId;

    /**
     * 工单Id
     */
    @TableField("task_id")
    private Long taskId;

    /**
     * 货道编号
     */
    @TableField("channel_code")
    private String channelCode;

    /**
     * 补货期望容量
     */
    @TableField("expect_capacity")
    private Integer expectCapacity;

    /**
     * 商品Id
     */
    @TableField("sku_id")
    private Long skuId;

    @TableField("sku_name")
    private String skuName;

    @TableField("sku_image")
    private String skuImage;


}
